WPForms\Integrations\Stripe\Api\PaymentIntents C

Total Complexity 112
Dependencies 16
Dependents 6
Total lines 1,066
Lines of code 489
Logical lines of code 254
Comment lines 359
Methods 32
Properties 4

Methods 32

Method Rating Maintainability Complexity Lines of code
charge_subscription()
A
39 13 63
charge_single()
A
45 10 40
get_charge_details()
A
53 9 24
bypass_captcha_on_3dsecure_submit()
A
54 8 20
select_subscription_default_payment_method()
S
56 6 20
detach_remote_subscriptions_duplicated_payment_methods()
S
51 5 28
set_payment_tokens()
S
62 6 11
refund_payment()
S
53 5 24
request_3dsecure_ajax()
S
60 4 14
cancel_subscription()
S
52 3 28
retrieve_mandate()
S
55 3 20
get_country_specs()
S
57 3 17
create_setup_intent()
S
57 3 17
get_charge()
S
60 3 15
retrieve_payment_intent()
S
59 3 14
process_subscription()
S
70 3 7
process_single()
S
70 3 7
set_config()
S
60 2 15
attach_customer_to_payment()
S
61 2 13
finalize_single()
S
65 2 8
finalize_subscription()
S
64 2 9
filter_config_element_locale()
S
73 2 4
set_bypass_captcha_3dsecure_token()
S
66 2 8
load_card_field()
S
71 2 7
set_card_element_config()
S
58 1 14
update_remote_customer_default_payment_method()
S
65 1 11
hooks()
S
78 1 3
get_payment()
S
79 1 3
setup_stripe()
S
77 1 4
request_confirm_payment_ajax()
S
69 1 8
set_payment_element_config()
S
66 1 7
init()
S
72 1 6